package com.xyz.entity.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PatrolWorkOrderExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PatrolWorkOrderExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andPlanIdIsNull() {
            addCriterion("plan_id is null");
            return (Criteria) this;
        }

        public Criteria andPlanIdIsNotNull() {
            addCriterion("plan_id is not null");
            return (Criteria) this;
        }

        public Criteria andPlanIdEqualTo(Long value) {
            addCriterion("plan_id =", value, "planId");
            return (Criteria) this;
        }

        public Criteria andPlanIdNotEqualTo(Long value) {
            addCriterion("plan_id <>", value, "planId");
            return (Criteria) this;
        }

        public Criteria andPlanIdGreaterThan(Long value) {
            addCriterion("plan_id >", value, "planId");
            return (Criteria) this;
        }

        public Criteria andPlanIdGreaterThanOrEqualTo(Long value) {
            addCriterion("plan_id >=", value, "planId");
            return (Criteria) this;
        }

        public Criteria andPlanIdLessThan(Long value) {
            addCriterion("plan_id <", value, "planId");
            return (Criteria) this;
        }

        public Criteria andPlanIdLessThanOrEqualTo(Long value) {
            addCriterion("plan_id <=", value, "planId");
            return (Criteria) this;
        }

        public Criteria andPlanIdIn(List<Long> values) {
            addCriterion("plan_id in", values, "planId");
            return (Criteria) this;
        }

        public Criteria andPlanIdNotIn(List<Long> values) {
            addCriterion("plan_id not in", values, "planId");
            return (Criteria) this;
        }

        public Criteria andPlanIdBetween(Long value1, Long value2) {
            addCriterion("plan_id between", value1, value2, "planId");
            return (Criteria) this;
        }

        public Criteria andPlanIdNotBetween(Long value1, Long value2) {
            addCriterion("plan_id not between", value1, value2, "planId");
            return (Criteria) this;
        }

        public Criteria andCodeIsNull() {
            addCriterion("code is null");
            return (Criteria) this;
        }

        public Criteria andCodeIsNotNull() {
            addCriterion("code is not null");
            return (Criteria) this;
        }

        public Criteria andCodeEqualTo(String value) {
            addCriterion("code =", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotEqualTo(String value) {
            addCriterion("code <>", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThan(String value) {
            addCriterion("code >", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThanOrEqualTo(String value) {
            addCriterion("code >=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThan(String value) {
            addCriterion("code <", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThanOrEqualTo(String value) {
            addCriterion("code <=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLike(String value) {
            addCriterion("code like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotLike(String value) {
            addCriterion("code not like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeIn(List<String> values) {
            addCriterion("code in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotIn(List<String> values) {
            addCriterion("code not in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeBetween(String value1, String value2) {
            addCriterion("code between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotBetween(String value1, String value2) {
            addCriterion("code not between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andTreeIdIsNull() {
            addCriterion("tree_id is null");
            return (Criteria) this;
        }

        public Criteria andTreeIdIsNotNull() {
            addCriterion("tree_id is not null");
            return (Criteria) this;
        }

        public Criteria andTreeIdEqualTo(Long value) {
            addCriterion("tree_id =", value, "treeId");
            return (Criteria) this;
        }

        public Criteria andTreeIdNotEqualTo(Long value) {
            addCriterion("tree_id <>", value, "treeId");
            return (Criteria) this;
        }

        public Criteria andTreeIdGreaterThan(Long value) {
            addCriterion("tree_id >", value, "treeId");
            return (Criteria) this;
        }

        public Criteria andTreeIdGreaterThanOrEqualTo(Long value) {
            addCriterion("tree_id >=", value, "treeId");
            return (Criteria) this;
        }

        public Criteria andTreeIdLessThan(Long value) {
            addCriterion("tree_id <", value, "treeId");
            return (Criteria) this;
        }

        public Criteria andTreeIdLessThanOrEqualTo(Long value) {
            addCriterion("tree_id <=", value, "treeId");
            return (Criteria) this;
        }

        public Criteria andTreeIdIn(List<Long> values) {
            addCriterion("tree_id in", values, "treeId");
            return (Criteria) this;
        }

        public Criteria andTreeIdNotIn(List<Long> values) {
            addCriterion("tree_id not in", values, "treeId");
            return (Criteria) this;
        }

        public Criteria andTreeIdBetween(Long value1, Long value2) {
            addCriterion("tree_id between", value1, value2, "treeId");
            return (Criteria) this;
        }

        public Criteria andTreeIdNotBetween(Long value1, Long value2) {
            addCriterion("tree_id not between", value1, value2, "treeId");
            return (Criteria) this;
        }

        public Criteria andBusinessTypeIsNull() {
            addCriterion("business_type is null");
            return (Criteria) this;
        }

        public Criteria andBusinessTypeIsNotNull() {
            addCriterion("business_type is not null");
            return (Criteria) this;
        }

        public Criteria andBusinessTypeEqualTo(Integer value) {
            addCriterion("business_type =", value, "businessType");
            return (Criteria) this;
        }

        public Criteria andBusinessTypeNotEqualTo(Integer value) {
            addCriterion("business_type <>", value, "businessType");
            return (Criteria) this;
        }

        public Criteria andBusinessTypeGreaterThan(Integer value) {
            addCriterion("business_type >", value, "businessType");
            return (Criteria) this;
        }

        public Criteria andBusinessTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("business_type >=", value, "businessType");
            return (Criteria) this;
        }

        public Criteria andBusinessTypeLessThan(Integer value) {
            addCriterion("business_type <", value, "businessType");
            return (Criteria) this;
        }

        public Criteria andBusinessTypeLessThanOrEqualTo(Integer value) {
            addCriterion("business_type <=", value, "businessType");
            return (Criteria) this;
        }

        public Criteria andBusinessTypeIn(List<Integer> values) {
            addCriterion("business_type in", values, "businessType");
            return (Criteria) this;
        }

        public Criteria andBusinessTypeNotIn(List<Integer> values) {
            addCriterion("business_type not in", values, "businessType");
            return (Criteria) this;
        }

        public Criteria andBusinessTypeBetween(Integer value1, Integer value2) {
            addCriterion("business_type between", value1, value2, "businessType");
            return (Criteria) this;
        }

        public Criteria andBusinessTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("business_type not between", value1, value2, "businessType");
            return (Criteria) this;
        }

        public Criteria andStateIsNull() {
            addCriterion("state is null");
            return (Criteria) this;
        }

        public Criteria andStateIsNotNull() {
            addCriterion("state is not null");
            return (Criteria) this;
        }

        public Criteria andStateEqualTo(Integer value) {
            addCriterion("state =", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotEqualTo(Integer value) {
            addCriterion("state <>", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThan(Integer value) {
            addCriterion("state >", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("state >=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThan(Integer value) {
            addCriterion("state <", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThanOrEqualTo(Integer value) {
            addCriterion("state <=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateIn(List<Integer> values) {
            addCriterion("state in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotIn(List<Integer> values) {
            addCriterion("state not in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateBetween(Integer value1, Integer value2) {
            addCriterion("state between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotBetween(Integer value1, Integer value2) {
            addCriterion("state not between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNull() {
            addCriterion("start_time is null");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNotNull() {
            addCriterion("start_time is not null");
            return (Criteria) this;
        }

        public Criteria andStartTimeEqualTo(Date value) {
            addCriterion("start_time =", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotEqualTo(Date value) {
            addCriterion("start_time <>", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThan(Date value) {
            addCriterion("start_time >", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("start_time >=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThan(Date value) {
            addCriterion("start_time <", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("start_time <=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeIn(List<Date> values) {
            addCriterion("start_time in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotIn(List<Date> values) {
            addCriterion("start_time not in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeBetween(Date value1, Date value2) {
            addCriterion("start_time between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("start_time not between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNull() {
            addCriterion("end_time is null");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNotNull() {
            addCriterion("end_time is not null");
            return (Criteria) this;
        }

        public Criteria andEndTimeEqualTo(Date value) {
            addCriterion("end_time =", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotEqualTo(Date value) {
            addCriterion("end_time <>", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThan(Date value) {
            addCriterion("end_time >", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("end_time >=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThan(Date value) {
            addCriterion("end_time <", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("end_time <=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIn(List<Date> values) {
            addCriterion("end_time in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotIn(List<Date> values) {
            addCriterion("end_time not in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeBetween(Date value1, Date value2) {
            addCriterion("end_time between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("end_time not between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andIsExceptionIsNull() {
            addCriterion("is_exception is null");
            return (Criteria) this;
        }

        public Criteria andIsExceptionIsNotNull() {
            addCriterion("is_exception is not null");
            return (Criteria) this;
        }

        public Criteria andIsExceptionEqualTo(Integer value) {
            addCriterion("is_exception =", value, "isException");
            return (Criteria) this;
        }

        public Criteria andIsExceptionNotEqualTo(Integer value) {
            addCriterion("is_exception <>", value, "isException");
            return (Criteria) this;
        }

        public Criteria andIsExceptionGreaterThan(Integer value) {
            addCriterion("is_exception >", value, "isException");
            return (Criteria) this;
        }

        public Criteria andIsExceptionGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_exception >=", value, "isException");
            return (Criteria) this;
        }

        public Criteria andIsExceptionLessThan(Integer value) {
            addCriterion("is_exception <", value, "isException");
            return (Criteria) this;
        }

        public Criteria andIsExceptionLessThanOrEqualTo(Integer value) {
            addCriterion("is_exception <=", value, "isException");
            return (Criteria) this;
        }

        public Criteria andIsExceptionIn(List<Integer> values) {
            addCriterion("is_exception in", values, "isException");
            return (Criteria) this;
        }

        public Criteria andIsExceptionNotIn(List<Integer> values) {
            addCriterion("is_exception not in", values, "isException");
            return (Criteria) this;
        }

        public Criteria andIsExceptionBetween(Integer value1, Integer value2) {
            addCriterion("is_exception between", value1, value2, "isException");
            return (Criteria) this;
        }

        public Criteria andIsExceptionNotBetween(Integer value1, Integer value2) {
            addCriterion("is_exception not between", value1, value2, "isException");
            return (Criteria) this;
        }

        public Criteria andCreateEmployeeIdIsNull() {
            addCriterion("create_employee_id is null");
            return (Criteria) this;
        }

        public Criteria andCreateEmployeeIdIsNotNull() {
            addCriterion("create_employee_id is not null");
            return (Criteria) this;
        }

        public Criteria andCreateEmployeeIdEqualTo(Long value) {
            addCriterion("create_employee_id =", value, "createEmployeeId");
            return (Criteria) this;
        }

        public Criteria andCreateEmployeeIdNotEqualTo(Long value) {
            addCriterion("create_employee_id <>", value, "createEmployeeId");
            return (Criteria) this;
        }

        public Criteria andCreateEmployeeIdGreaterThan(Long value) {
            addCriterion("create_employee_id >", value, "createEmployeeId");
            return (Criteria) this;
        }

        public Criteria andCreateEmployeeIdGreaterThanOrEqualTo(Long value) {
            addCriterion("create_employee_id >=", value, "createEmployeeId");
            return (Criteria) this;
        }

        public Criteria andCreateEmployeeIdLessThan(Long value) {
            addCriterion("create_employee_id <", value, "createEmployeeId");
            return (Criteria) this;
        }

        public Criteria andCreateEmployeeIdLessThanOrEqualTo(Long value) {
            addCriterion("create_employee_id <=", value, "createEmployeeId");
            return (Criteria) this;
        }

        public Criteria andCreateEmployeeIdIn(List<Long> values) {
            addCriterion("create_employee_id in", values, "createEmployeeId");
            return (Criteria) this;
        }

        public Criteria andCreateEmployeeIdNotIn(List<Long> values) {
            addCriterion("create_employee_id not in", values, "createEmployeeId");
            return (Criteria) this;
        }

        public Criteria andCreateEmployeeIdBetween(Long value1, Long value2) {
            addCriterion("create_employee_id between", value1, value2, "createEmployeeId");
            return (Criteria) this;
        }

        public Criteria andCreateEmployeeIdNotBetween(Long value1, Long value2) {
            addCriterion("create_employee_id not between", value1, value2, "createEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAnnounceEmployeeIdIsNull() {
            addCriterion("announce_employee_id is null");
            return (Criteria) this;
        }

        public Criteria andAnnounceEmployeeIdIsNotNull() {
            addCriterion("announce_employee_id is not null");
            return (Criteria) this;
        }

        public Criteria andAnnounceEmployeeIdEqualTo(Long value) {
            addCriterion("announce_employee_id =", value, "announceEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAnnounceEmployeeIdNotEqualTo(Long value) {
            addCriterion("announce_employee_id <>", value, "announceEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAnnounceEmployeeIdGreaterThan(Long value) {
            addCriterion("announce_employee_id >", value, "announceEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAnnounceEmployeeIdGreaterThanOrEqualTo(Long value) {
            addCriterion("announce_employee_id >=", value, "announceEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAnnounceEmployeeIdLessThan(Long value) {
            addCriterion("announce_employee_id <", value, "announceEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAnnounceEmployeeIdLessThanOrEqualTo(Long value) {
            addCriterion("announce_employee_id <=", value, "announceEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAnnounceEmployeeIdIn(List<Long> values) {
            addCriterion("announce_employee_id in", values, "announceEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAnnounceEmployeeIdNotIn(List<Long> values) {
            addCriterion("announce_employee_id not in", values, "announceEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAnnounceEmployeeIdBetween(Long value1, Long value2) {
            addCriterion("announce_employee_id between", value1, value2, "announceEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAnnounceEmployeeIdNotBetween(Long value1, Long value2) {
            addCriterion("announce_employee_id not between", value1, value2, "announceEmployeeId");
            return (Criteria) this;
        }

        public Criteria andPatrolEmployeeIdIsNull() {
            addCriterion("patrol_employee_id is null");
            return (Criteria) this;
        }

        public Criteria andPatrolEmployeeIdIsNotNull() {
            addCriterion("patrol_employee_id is not null");
            return (Criteria) this;
        }

        public Criteria andPatrolEmployeeIdEqualTo(Long value) {
            addCriterion("patrol_employee_id =", value, "patrolEmployeeId");
            return (Criteria) this;
        }

        public Criteria andPatrolEmployeeIdNotEqualTo(Long value) {
            addCriterion("patrol_employee_id <>", value, "patrolEmployeeId");
            return (Criteria) this;
        }

        public Criteria andPatrolEmployeeIdGreaterThan(Long value) {
            addCriterion("patrol_employee_id >", value, "patrolEmployeeId");
            return (Criteria) this;
        }

        public Criteria andPatrolEmployeeIdGreaterThanOrEqualTo(Long value) {
            addCriterion("patrol_employee_id >=", value, "patrolEmployeeId");
            return (Criteria) this;
        }

        public Criteria andPatrolEmployeeIdLessThan(Long value) {
            addCriterion("patrol_employee_id <", value, "patrolEmployeeId");
            return (Criteria) this;
        }

        public Criteria andPatrolEmployeeIdLessThanOrEqualTo(Long value) {
            addCriterion("patrol_employee_id <=", value, "patrolEmployeeId");
            return (Criteria) this;
        }

        public Criteria andPatrolEmployeeIdIn(List<Long> values) {
            addCriterion("patrol_employee_id in", values, "patrolEmployeeId");
            return (Criteria) this;
        }

        public Criteria andPatrolEmployeeIdNotIn(List<Long> values) {
            addCriterion("patrol_employee_id not in", values, "patrolEmployeeId");
            return (Criteria) this;
        }

        public Criteria andPatrolEmployeeIdBetween(Long value1, Long value2) {
            addCriterion("patrol_employee_id between", value1, value2, "patrolEmployeeId");
            return (Criteria) this;
        }

        public Criteria andPatrolEmployeeIdNotBetween(Long value1, Long value2) {
            addCriterion("patrol_employee_id not between", value1, value2, "patrolEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAcceptEmployeeIdIsNull() {
            addCriterion("accept_employee_id is null");
            return (Criteria) this;
        }

        public Criteria andAcceptEmployeeIdIsNotNull() {
            addCriterion("accept_employee_id is not null");
            return (Criteria) this;
        }

        public Criteria andAcceptEmployeeIdEqualTo(Long value) {
            addCriterion("accept_employee_id =", value, "acceptEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAcceptEmployeeIdNotEqualTo(Long value) {
            addCriterion("accept_employee_id <>", value, "acceptEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAcceptEmployeeIdGreaterThan(Long value) {
            addCriterion("accept_employee_id >", value, "acceptEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAcceptEmployeeIdGreaterThanOrEqualTo(Long value) {
            addCriterion("accept_employee_id >=", value, "acceptEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAcceptEmployeeIdLessThan(Long value) {
            addCriterion("accept_employee_id <", value, "acceptEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAcceptEmployeeIdLessThanOrEqualTo(Long value) {
            addCriterion("accept_employee_id <=", value, "acceptEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAcceptEmployeeIdIn(List<Long> values) {
            addCriterion("accept_employee_id in", values, "acceptEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAcceptEmployeeIdNotIn(List<Long> values) {
            addCriterion("accept_employee_id not in", values, "acceptEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAcceptEmployeeIdBetween(Long value1, Long value2) {
            addCriterion("accept_employee_id between", value1, value2, "acceptEmployeeId");
            return (Criteria) this;
        }

        public Criteria andAcceptEmployeeIdNotBetween(Long value1, Long value2) {
            addCriterion("accept_employee_id not between", value1, value2, "acceptEmployeeId");
            return (Criteria) this;
        }

        public Criteria andOrderDurationIsNull() {
            addCriterion("order_duration is null");
            return (Criteria) this;
        }

        public Criteria andOrderDurationIsNotNull() {
            addCriterion("order_duration is not null");
            return (Criteria) this;
        }

        public Criteria andOrderDurationEqualTo(Integer value) {
            addCriterion("order_duration =", value, "orderDuration");
            return (Criteria) this;
        }

        public Criteria andOrderDurationNotEqualTo(Integer value) {
            addCriterion("order_duration <>", value, "orderDuration");
            return (Criteria) this;
        }

        public Criteria andOrderDurationGreaterThan(Integer value) {
            addCriterion("order_duration >", value, "orderDuration");
            return (Criteria) this;
        }

        public Criteria andOrderDurationGreaterThanOrEqualTo(Integer value) {
            addCriterion("order_duration >=", value, "orderDuration");
            return (Criteria) this;
        }

        public Criteria andOrderDurationLessThan(Integer value) {
            addCriterion("order_duration <", value, "orderDuration");
            return (Criteria) this;
        }

        public Criteria andOrderDurationLessThanOrEqualTo(Integer value) {
            addCriterion("order_duration <=", value, "orderDuration");
            return (Criteria) this;
        }

        public Criteria andOrderDurationIn(List<Integer> values) {
            addCriterion("order_duration in", values, "orderDuration");
            return (Criteria) this;
        }

        public Criteria andOrderDurationNotIn(List<Integer> values) {
            addCriterion("order_duration not in", values, "orderDuration");
            return (Criteria) this;
        }

        public Criteria andOrderDurationBetween(Integer value1, Integer value2) {
            addCriterion("order_duration between", value1, value2, "orderDuration");
            return (Criteria) this;
        }

        public Criteria andOrderDurationNotBetween(Integer value1, Integer value2) {
            addCriterion("order_duration not between", value1, value2, "orderDuration");
            return (Criteria) this;
        }

        public Criteria andOrderWorkHourIsNull() {
            addCriterion("order_work_hour is null");
            return (Criteria) this;
        }

        public Criteria andOrderWorkHourIsNotNull() {
            addCriterion("order_work_hour is not null");
            return (Criteria) this;
        }

        public Criteria andOrderWorkHourEqualTo(Integer value) {
            addCriterion("order_work_hour =", value, "orderWorkHour");
            return (Criteria) this;
        }

        public Criteria andOrderWorkHourNotEqualTo(Integer value) {
            addCriterion("order_work_hour <>", value, "orderWorkHour");
            return (Criteria) this;
        }

        public Criteria andOrderWorkHourGreaterThan(Integer value) {
            addCriterion("order_work_hour >", value, "orderWorkHour");
            return (Criteria) this;
        }

        public Criteria andOrderWorkHourGreaterThanOrEqualTo(Integer value) {
            addCriterion("order_work_hour >=", value, "orderWorkHour");
            return (Criteria) this;
        }

        public Criteria andOrderWorkHourLessThan(Integer value) {
            addCriterion("order_work_hour <", value, "orderWorkHour");
            return (Criteria) this;
        }

        public Criteria andOrderWorkHourLessThanOrEqualTo(Integer value) {
            addCriterion("order_work_hour <=", value, "orderWorkHour");
            return (Criteria) this;
        }

        public Criteria andOrderWorkHourIn(List<Integer> values) {
            addCriterion("order_work_hour in", values, "orderWorkHour");
            return (Criteria) this;
        }

        public Criteria andOrderWorkHourNotIn(List<Integer> values) {
            addCriterion("order_work_hour not in", values, "orderWorkHour");
            return (Criteria) this;
        }

        public Criteria andOrderWorkHourBetween(Integer value1, Integer value2) {
            addCriterion("order_work_hour between", value1, value2, "orderWorkHour");
            return (Criteria) this;
        }

        public Criteria andOrderWorkHourNotBetween(Integer value1, Integer value2) {
            addCriterion("order_work_hour not between", value1, value2, "orderWorkHour");
            return (Criteria) this;
        }

        public Criteria andOrderExceptionIsNull() {
            addCriterion("order_exception is null");
            return (Criteria) this;
        }

        public Criteria andOrderExceptionIsNotNull() {
            addCriterion("order_exception is not null");
            return (Criteria) this;
        }

        public Criteria andOrderExceptionEqualTo(String value) {
            addCriterion("order_exception =", value, "orderException");
            return (Criteria) this;
        }

        public Criteria andOrderExceptionNotEqualTo(String value) {
            addCriterion("order_exception <>", value, "orderException");
            return (Criteria) this;
        }

        public Criteria andOrderExceptionGreaterThan(String value) {
            addCriterion("order_exception >", value, "orderException");
            return (Criteria) this;
        }

        public Criteria andOrderExceptionGreaterThanOrEqualTo(String value) {
            addCriterion("order_exception >=", value, "orderException");
            return (Criteria) this;
        }

        public Criteria andOrderExceptionLessThan(String value) {
            addCriterion("order_exception <", value, "orderException");
            return (Criteria) this;
        }

        public Criteria andOrderExceptionLessThanOrEqualTo(String value) {
            addCriterion("order_exception <=", value, "orderException");
            return (Criteria) this;
        }

        public Criteria andOrderExceptionLike(String value) {
            addCriterion("order_exception like", value, "orderException");
            return (Criteria) this;
        }

        public Criteria andOrderExceptionNotLike(String value) {
            addCriterion("order_exception not like", value, "orderException");
            return (Criteria) this;
        }

        public Criteria andOrderExceptionIn(List<String> values) {
            addCriterion("order_exception in", values, "orderException");
            return (Criteria) this;
        }

        public Criteria andOrderExceptionNotIn(List<String> values) {
            addCriterion("order_exception not in", values, "orderException");
            return (Criteria) this;
        }

        public Criteria andOrderExceptionBetween(String value1, String value2) {
            addCriterion("order_exception between", value1, value2, "orderException");
            return (Criteria) this;
        }

        public Criteria andOrderExceptionNotBetween(String value1, String value2) {
            addCriterion("order_exception not between", value1, value2, "orderException");
            return (Criteria) this;
        }

        public Criteria andFaultTypeIsNull() {
            addCriterion("fault_type is null");
            return (Criteria) this;
        }

        public Criteria andFaultTypeIsNotNull() {
            addCriterion("fault_type is not null");
            return (Criteria) this;
        }

        public Criteria andFaultTypeEqualTo(Long value) {
            addCriterion("fault_type =", value, "faultType");
            return (Criteria) this;
        }

        public Criteria andFaultTypeNotEqualTo(Long value) {
            addCriterion("fault_type <>", value, "faultType");
            return (Criteria) this;
        }

        public Criteria andFaultTypeGreaterThan(Long value) {
            addCriterion("fault_type >", value, "faultType");
            return (Criteria) this;
        }

        public Criteria andFaultTypeGreaterThanOrEqualTo(Long value) {
            addCriterion("fault_type >=", value, "faultType");
            return (Criteria) this;
        }

        public Criteria andFaultTypeLessThan(Long value) {
            addCriterion("fault_type <", value, "faultType");
            return (Criteria) this;
        }

        public Criteria andFaultTypeLessThanOrEqualTo(Long value) {
            addCriterion("fault_type <=", value, "faultType");
            return (Criteria) this;
        }

        public Criteria andFaultTypeIn(List<Long> values) {
            addCriterion("fault_type in", values, "faultType");
            return (Criteria) this;
        }

        public Criteria andFaultTypeNotIn(List<Long> values) {
            addCriterion("fault_type not in", values, "faultType");
            return (Criteria) this;
        }

        public Criteria andFaultTypeBetween(Long value1, Long value2) {
            addCriterion("fault_type between", value1, value2, "faultType");
            return (Criteria) this;
        }

        public Criteria andFaultTypeNotBetween(Long value1, Long value2) {
            addCriterion("fault_type not between", value1, value2, "faultType");
            return (Criteria) this;
        }

        public Criteria andFaultReasonIsNull() {
            addCriterion("fault_reason is null");
            return (Criteria) this;
        }

        public Criteria andFaultReasonIsNotNull() {
            addCriterion("fault_reason is not null");
            return (Criteria) this;
        }

        public Criteria andFaultReasonEqualTo(Long value) {
            addCriterion("fault_reason =", value, "faultReason");
            return (Criteria) this;
        }

        public Criteria andFaultReasonNotEqualTo(Long value) {
            addCriterion("fault_reason <>", value, "faultReason");
            return (Criteria) this;
        }

        public Criteria andFaultReasonGreaterThan(Long value) {
            addCriterion("fault_reason >", value, "faultReason");
            return (Criteria) this;
        }

        public Criteria andFaultReasonGreaterThanOrEqualTo(Long value) {
            addCriterion("fault_reason >=", value, "faultReason");
            return (Criteria) this;
        }

        public Criteria andFaultReasonLessThan(Long value) {
            addCriterion("fault_reason <", value, "faultReason");
            return (Criteria) this;
        }

        public Criteria andFaultReasonLessThanOrEqualTo(Long value) {
            addCriterion("fault_reason <=", value, "faultReason");
            return (Criteria) this;
        }

        public Criteria andFaultReasonIn(List<Long> values) {
            addCriterion("fault_reason in", values, "faultReason");
            return (Criteria) this;
        }

        public Criteria andFaultReasonNotIn(List<Long> values) {
            addCriterion("fault_reason not in", values, "faultReason");
            return (Criteria) this;
        }

        public Criteria andFaultReasonBetween(Long value1, Long value2) {
            addCriterion("fault_reason between", value1, value2, "faultReason");
            return (Criteria) this;
        }

        public Criteria andFaultReasonNotBetween(Long value1, Long value2) {
            addCriterion("fault_reason not between", value1, value2, "faultReason");
            return (Criteria) this;
        }

        public Criteria andEmStateIsNull() {
            addCriterion("em_state is null");
            return (Criteria) this;
        }

        public Criteria andEmStateIsNotNull() {
            addCriterion("em_state is not null");
            return (Criteria) this;
        }

        public Criteria andEmStateEqualTo(Long value) {
            addCriterion("em_state =", value, "emState");
            return (Criteria) this;
        }

        public Criteria andEmStateNotEqualTo(Long value) {
            addCriterion("em_state <>", value, "emState");
            return (Criteria) this;
        }

        public Criteria andEmStateGreaterThan(Long value) {
            addCriterion("em_state >", value, "emState");
            return (Criteria) this;
        }

        public Criteria andEmStateGreaterThanOrEqualTo(Long value) {
            addCriterion("em_state >=", value, "emState");
            return (Criteria) this;
        }

        public Criteria andEmStateLessThan(Long value) {
            addCriterion("em_state <", value, "emState");
            return (Criteria) this;
        }

        public Criteria andEmStateLessThanOrEqualTo(Long value) {
            addCriterion("em_state <=", value, "emState");
            return (Criteria) this;
        }

        public Criteria andEmStateIn(List<Long> values) {
            addCriterion("em_state in", values, "emState");
            return (Criteria) this;
        }

        public Criteria andEmStateNotIn(List<Long> values) {
            addCriterion("em_state not in", values, "emState");
            return (Criteria) this;
        }

        public Criteria andEmStateBetween(Long value1, Long value2) {
            addCriterion("em_state between", value1, value2, "emState");
            return (Criteria) this;
        }

        public Criteria andEmStateNotBetween(Long value1, Long value2) {
            addCriterion("em_state not between", value1, value2, "emState");
            return (Criteria) this;
        }

        public Criteria andDisposeResultIsNull() {
            addCriterion("dispose_result is null");
            return (Criteria) this;
        }

        public Criteria andDisposeResultIsNotNull() {
            addCriterion("dispose_result is not null");
            return (Criteria) this;
        }

        public Criteria andDisposeResultEqualTo(String value) {
            addCriterion("dispose_result =", value, "disposeResult");
            return (Criteria) this;
        }

        public Criteria andDisposeResultNotEqualTo(String value) {
            addCriterion("dispose_result <>", value, "disposeResult");
            return (Criteria) this;
        }

        public Criteria andDisposeResultGreaterThan(String value) {
            addCriterion("dispose_result >", value, "disposeResult");
            return (Criteria) this;
        }

        public Criteria andDisposeResultGreaterThanOrEqualTo(String value) {
            addCriterion("dispose_result >=", value, "disposeResult");
            return (Criteria) this;
        }

        public Criteria andDisposeResultLessThan(String value) {
            addCriterion("dispose_result <", value, "disposeResult");
            return (Criteria) this;
        }

        public Criteria andDisposeResultLessThanOrEqualTo(String value) {
            addCriterion("dispose_result <=", value, "disposeResult");
            return (Criteria) this;
        }

        public Criteria andDisposeResultLike(String value) {
            addCriterion("dispose_result like", value, "disposeResult");
            return (Criteria) this;
        }

        public Criteria andDisposeResultNotLike(String value) {
            addCriterion("dispose_result not like", value, "disposeResult");
            return (Criteria) this;
        }

        public Criteria andDisposeResultIn(List<String> values) {
            addCriterion("dispose_result in", values, "disposeResult");
            return (Criteria) this;
        }

        public Criteria andDisposeResultNotIn(List<String> values) {
            addCriterion("dispose_result not in", values, "disposeResult");
            return (Criteria) this;
        }

        public Criteria andDisposeResultBetween(String value1, String value2) {
            addCriterion("dispose_result between", value1, value2, "disposeResult");
            return (Criteria) this;
        }

        public Criteria andDisposeResultNotBetween(String value1, String value2) {
            addCriterion("dispose_result not between", value1, value2, "disposeResult");
            return (Criteria) this;
        }

        public Criteria andIsOverdueIsNull() {
            addCriterion("is_overdue is null");
            return (Criteria) this;
        }

        public Criteria andIsOverdueIsNotNull() {
            addCriterion("is_overdue is not null");
            return (Criteria) this;
        }

        public Criteria andIsOverdueEqualTo(Integer value) {
            addCriterion("is_overdue =", value, "isOverdue");
            return (Criteria) this;
        }

        public Criteria andIsOverdueNotEqualTo(Integer value) {
            addCriterion("is_overdue <>", value, "isOverdue");
            return (Criteria) this;
        }

        public Criteria andIsOverdueGreaterThan(Integer value) {
            addCriterion("is_overdue >", value, "isOverdue");
            return (Criteria) this;
        }

        public Criteria andIsOverdueGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_overdue >=", value, "isOverdue");
            return (Criteria) this;
        }

        public Criteria andIsOverdueLessThan(Integer value) {
            addCriterion("is_overdue <", value, "isOverdue");
            return (Criteria) this;
        }

        public Criteria andIsOverdueLessThanOrEqualTo(Integer value) {
            addCriterion("is_overdue <=", value, "isOverdue");
            return (Criteria) this;
        }

        public Criteria andIsOverdueIn(List<Integer> values) {
            addCriterion("is_overdue in", values, "isOverdue");
            return (Criteria) this;
        }

        public Criteria andIsOverdueNotIn(List<Integer> values) {
            addCriterion("is_overdue not in", values, "isOverdue");
            return (Criteria) this;
        }

        public Criteria andIsOverdueBetween(Integer value1, Integer value2) {
            addCriterion("is_overdue between", value1, value2, "isOverdue");
            return (Criteria) this;
        }

        public Criteria andIsOverdueNotBetween(Integer value1, Integer value2) {
            addCriterion("is_overdue not between", value1, value2, "isOverdue");
            return (Criteria) this;
        }

        public Criteria andIsAcdTimeoutIsNull() {
            addCriterion("is_acd_timeout is null");
            return (Criteria) this;
        }

        public Criteria andIsAcdTimeoutIsNotNull() {
            addCriterion("is_acd_timeout is not null");
            return (Criteria) this;
        }

        public Criteria andIsAcdTimeoutEqualTo(Integer value) {
            addCriterion("is_acd_timeout =", value, "isAcdTimeout");
            return (Criteria) this;
        }

        public Criteria andIsAcdTimeoutNotEqualTo(Integer value) {
            addCriterion("is_acd_timeout <>", value, "isAcdTimeout");
            return (Criteria) this;
        }

        public Criteria andIsAcdTimeoutGreaterThan(Integer value) {
            addCriterion("is_acd_timeout >", value, "isAcdTimeout");
            return (Criteria) this;
        }

        public Criteria andIsAcdTimeoutGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_acd_timeout >=", value, "isAcdTimeout");
            return (Criteria) this;
        }

        public Criteria andIsAcdTimeoutLessThan(Integer value) {
            addCriterion("is_acd_timeout <", value, "isAcdTimeout");
            return (Criteria) this;
        }

        public Criteria andIsAcdTimeoutLessThanOrEqualTo(Integer value) {
            addCriterion("is_acd_timeout <=", value, "isAcdTimeout");
            return (Criteria) this;
        }

        public Criteria andIsAcdTimeoutIn(List<Integer> values) {
            addCriterion("is_acd_timeout in", values, "isAcdTimeout");
            return (Criteria) this;
        }

        public Criteria andIsAcdTimeoutNotIn(List<Integer> values) {
            addCriterion("is_acd_timeout not in", values, "isAcdTimeout");
            return (Criteria) this;
        }

        public Criteria andIsAcdTimeoutBetween(Integer value1, Integer value2) {
            addCriterion("is_acd_timeout between", value1, value2, "isAcdTimeout");
            return (Criteria) this;
        }

        public Criteria andIsAcdTimeoutNotBetween(Integer value1, Integer value2) {
            addCriterion("is_acd_timeout not between", value1, value2, "isAcdTimeout");
            return (Criteria) this;
        }

        public Criteria andRoStartTimeIsNull() {
            addCriterion("ro_start_time is null");
            return (Criteria) this;
        }

        public Criteria andRoStartTimeIsNotNull() {
            addCriterion("ro_start_time is not null");
            return (Criteria) this;
        }

        public Criteria andRoStartTimeEqualTo(Date value) {
            addCriterion("ro_start_time =", value, "roStartTime");
            return (Criteria) this;
        }

        public Criteria andRoStartTimeNotEqualTo(Date value) {
            addCriterion("ro_start_time <>", value, "roStartTime");
            return (Criteria) this;
        }

        public Criteria andRoStartTimeGreaterThan(Date value) {
            addCriterion("ro_start_time >", value, "roStartTime");
            return (Criteria) this;
        }

        public Criteria andRoStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("ro_start_time >=", value, "roStartTime");
            return (Criteria) this;
        }

        public Criteria andRoStartTimeLessThan(Date value) {
            addCriterion("ro_start_time <", value, "roStartTime");
            return (Criteria) this;
        }

        public Criteria andRoStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("ro_start_time <=", value, "roStartTime");
            return (Criteria) this;
        }

        public Criteria andRoStartTimeIn(List<Date> values) {
            addCriterion("ro_start_time in", values, "roStartTime");
            return (Criteria) this;
        }

        public Criteria andRoStartTimeNotIn(List<Date> values) {
            addCriterion("ro_start_time not in", values, "roStartTime");
            return (Criteria) this;
        }

        public Criteria andRoStartTimeBetween(Date value1, Date value2) {
            addCriterion("ro_start_time between", value1, value2, "roStartTime");
            return (Criteria) this;
        }

        public Criteria andRoStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("ro_start_time not between", value1, value2, "roStartTime");
            return (Criteria) this;
        }

        public Criteria andAssStartTimeIsNull() {
            addCriterion("ass_start_time is null");
            return (Criteria) this;
        }

        public Criteria andAssStartTimeIsNotNull() {
            addCriterion("ass_start_time is not null");
            return (Criteria) this;
        }

        public Criteria andAssStartTimeEqualTo(Date value) {
            addCriterion("ass_start_time =", value, "assStartTime");
            return (Criteria) this;
        }

        public Criteria andAssStartTimeNotEqualTo(Date value) {
            addCriterion("ass_start_time <>", value, "assStartTime");
            return (Criteria) this;
        }

        public Criteria andAssStartTimeGreaterThan(Date value) {
            addCriterion("ass_start_time >", value, "assStartTime");
            return (Criteria) this;
        }

        public Criteria andAssStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("ass_start_time >=", value, "assStartTime");
            return (Criteria) this;
        }

        public Criteria andAssStartTimeLessThan(Date value) {
            addCriterion("ass_start_time <", value, "assStartTime");
            return (Criteria) this;
        }

        public Criteria andAssStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("ass_start_time <=", value, "assStartTime");
            return (Criteria) this;
        }

        public Criteria andAssStartTimeIn(List<Date> values) {
            addCriterion("ass_start_time in", values, "assStartTime");
            return (Criteria) this;
        }

        public Criteria andAssStartTimeNotIn(List<Date> values) {
            addCriterion("ass_start_time not in", values, "assStartTime");
            return (Criteria) this;
        }

        public Criteria andAssStartTimeBetween(Date value1, Date value2) {
            addCriterion("ass_start_time between", value1, value2, "assStartTime");
            return (Criteria) this;
        }

        public Criteria andAssStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("ass_start_time not between", value1, value2, "assStartTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}